//
//  Phone.h
//  OC03_属性_点语法
//
//  Created by dllo on 16/5/24.
//  Copyright © 2016年 Rain. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Phone : NSObject
@property (nonatomic,readwrite,assign)NSInteger number;

@property (nonatomic, readwrite , assign)NSInteger size;

@property (nonatomic, readwrite , retain)NSString *brand;

@property (nonatomic,readwrite , assign)NSInteger price;

-(instancetype)initWithNumber:(NSInteger)number withSize:(NSInteger)size withBrand:(NSString *)brand withPrice:(NSInteger)price;

+(instancetype)PhoneinitWithNumber:(NSInteger)number withSize:(NSInteger)size withBrand:(NSString *)brand withPrice:(NSInteger)price;

-(void)myPrint;
@end
